{layout name="wapian/layout" /}
<div class="container">
	<div class="row">
		<div class="hy-layout clearfix">
			<div class="hy-min-screen clearfix">
				<div class="item clearfix">
					{notempty name="data.nav"}
					{volist name="data.nav" id="vod" key="k" length="3"}
					{notempty name="vod.data"}
					<dl class="clearfix">
						<dt class="text-muted">{$vod.name}</dt>
						<dd class="clearfix">
							{volist name="vod.data" id="vods"}
							{if condition="($k==1)"}
							<a
								href="/list/{$page['vt']}-{$page['year']}-{$page['area']}-{$vods['id']}-{$page['rank']}-{$page['page']}.html">{$vods.name}</a>
							{elseif condition="($k==2)"}
							<a
								href="/list/{$page['vt']}-{$vods['id']}-{$page['area']}-{$page['cat']}-{$page['rank']}-{$page['page']}.html">{$vods.name}</a>
							{elseif condition="($k==3)"}
							<a
								href="/list/{$page['vt']}-{$page['year']}-{$vods['id']}-{$page['cat']}-{$page['rank']}-{$page['page']}.html">{$vods.name}</a>
							{/if}
							{/volist}
						</dd>
					</dl>
					{/notempty}
					{/volist}
					{/notempty}
				</div>
			</div>
		</div>
		<div class="container">
			<div class="row" style="margin-top:0px"></div>
		</div>
		<div class="hy-layout clearfix" style="margin-top: 10px;">
			<div class="hy-switch-tabs active clearfix">
				<span class="text-muted pull-right hidden-xs">如果您喜欢本站请动动小手分享给您的朋友！</span>
				<ul class="nav nav-tabs">
					{notempty name="data.col"}
					{volist name="data.col" id="vod"}
					<li {if condition="($vod.id==$page['rank'])" } class="active" {/if}>
						<a
							href="/list/{$page['vt']}-{$page['year']}-{$page['area']}-{$page['cat']}-{$vod['id']}-{$page['page']}.html">
							{$vod.name}
						</a>
					</li>
					{/volist}
					{/notempty}
				</ul>
			</div>
			<div class="hy-video-list">
				<div class="item">
					<ul class="clearfix">
						{notempty name="data.data"}
						{volist name="data.data" id="vod"}
						<div class="col-md-2 col-sm-3 col-xs-4">
							<a class="videopic lazy" href="/play-{$page['vt']}{$vod.vod_url}" title="{$vod.vod_title}"
								data-original="{$vod.vod_pic}"
								style="background: url(/static/wapian/images/load.gif) no-repeat; background-position:50% 50%; background-size: cover;">
								<span class="play hidden-xs"></span>
								<span class="score">{:putVodLabel($vod)}</span>
							</a>
							<div class="title">
								<h5 class="text-overflow">
									<a href="/play-{$page['vt']}{$vod.vod_url}">
										{$vod.vod_title}
									</a>
								</h5>
							</div>
							<div class="subtitle text-muted text-muted text-overflow hidden-xs">
								{$vod.vod_actor}
							</div>
						</div>
						{/volist}
						{/notempty}
					</ul>
				</div>
			</div>
			<div class="hy-page clearfix">
				<ul class="cleafix">
					<div monitor-desc='分页' id='js-ew-page' data-block='js-ew-page' class='ew-page'>
						{notempty name="data.page.pagecount"}
						{if condition="($page['page']>1)" }
						<li>
							<a href="/list/{$page['vt']}-{$page['year']}-{$page['area']}-{$page['cat']}-{$page['rank']}-1.html"
								target='_self'>首页</a>
						</li>
						<li>
							<a href="/list/{$page['vt']}-{$page['year']}-{$page['area']}-{$page['cat']}-{$page['rank']}-{$page['page']-1}.html"
								target='_self'>上一页</a>
						</li>
						{/if}
						{for start="$page.page-2" end="$page.page+3"}
						{if condition="($i>=1 && $i<=$data.page.pagecount)"} <li {if condition=" ($i==$page['page'])" }
							class="active" {/if}>
							<a href="/list/{$page['vt']}-{$page['year']}-{$page['area']}-{$page['cat']}-{$page['rank']}-{$i}.html"
								target='_self' {if condition="($i==$page['page'])" } class='on' {/if}>{$i}</a>
							</li>
							{/if}
							{/for}
							{if condition="($page['page'] elt $data.page.pagecount)" } <li>
								<a href="/list/{$page['vt']}-{$page['year']}-{$page['area']}-{$page['cat']}-{$page['rank']}-{$page['page']+1}.html"
									target='_self'>下一页</a>
							</li>
							<li>
								<a href="/list/{$page['vt']}-{$page['year']}-{$page['area']}-{$page['cat']}-{$page['rank']}-{$data['page']['pagecount']}.html"
									target='_self'>尾页</a>
							</li>
							{/if}
							{/notempty}
					</div>
				</ul>
			</div>
		</div>
	</div>
</div>